package com.jimmy.nonweb.base;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import lombok.extern.slf4j.Slf4j;

@Service
@Slf4j
public class FooService {

    @Autowired
    private FooDao fooDao;

    public String getFoo() {
        log.debug("getFoo");
        return "foo by service";
    }

    public String getFooByDao() {
        return fooDao.getFoo();
    }
}
